package com.guigu.buy.mapper;

import com.guigu.buy.pojo.SysMenu;
import com.guigu.buy.pojo.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.awt.*;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysMenu> getmenulist(Integer id);

    List<SysMenu> getroleId(@Param("rid")int rid);

    void deletemenuById(Integer roleid);
}
